package com.pro.schedule.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import lombok.Data;


import java.time.LocalDate;

@Data
@TableName(value = "memo")
public class Memo {
    @TableId(type = IdType.AUTO)
    private Integer memoId;
    private String memoTitle;
    private LocalDate memoDate;
    private String memoText;
    private Long userId;
    @TableField(exist = false)
    private Page<Memo> page;
}
